package com.zhima;

import com.zhima.annotation.*;
import com.zhima.feignclient.ContestFeignClient;
import com.zhima.feignclient.QuestionFeignClient;
import com.zhima.feignclient.UserFeignClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableSecurity
@EnableCheckLogin
@EnablePagination
@EnableParseToken
@EnableFeignClients(clients = {UserFeignClient.class, QuestionFeignClient.class, ContestFeignClient.class})
@EnableKnife4j(title = "芝麻OJ评测记录服务-API文档", description = "芝麻OJ评测记录服务")
public class JudgeApplication {
    public static void main(String[] args) {
        SpringApplication.run(JudgeApplication.class, args);
    }
}
